package com.gjy.datetime;

import org.junit.jupiter.api.Test;

import java.time.LocalDate;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-02-20 15:46:10
 */
public class DateTimeHelper {

    @Test
    public void test1() {
        LocalDate date = LocalDate.of(2023, 1, 1);

        LocalDate plus = date.plusMonths(2);

        System.out.println("plus = " + plus);
    }
}
